package com.atXiao.video.common.rspEnum;

public enum RedisKeyEnum {

    user_sub_prefix("user:subscribe:","用户订阅的redisKey前缀");


    /**
     * 业务key前缀
     */
    private String keyPrefix;
    /**
     * key描述
     */
    private String keyDesc;


    public String getKeyPrefix() {
        return keyPrefix;
    }

    public void setKeyPrefix(String keyPrefix) {
        this.keyPrefix = keyPrefix;
    }

    public String getKeyDesc() {
        return keyDesc;
    }

    public void setKeyDesc(String keyDesc) {
        this.keyDesc = keyDesc;
    }

    RedisKeyEnum(String keyPrefix, String keyDesc) {
        this.keyPrefix = keyPrefix;
        this.keyDesc = keyDesc;
    }
}
